package Person;

import Impl.HouseObserver;
import Model.*;

public class Boy extends Person implements HouseObserver {
    private String type="boy";

    public String getType() {
        return type;
    }

    @Override
    public void display(){
        System.out.println("i am a boy");
    }

    @Override
    public void update(House house) {
        house.addList(this);
    }
}
